﻿using DomainModel.Infrastructure.Persistence;
using DomainModel.Utils;
using NHibernate;

namespace DomainModel.Domain.Model.MessageClipModel
{
    public class MessageClipsRepository : BaseRepository<MessageClip, MessageClipId>, IMessageClipsRepository
    {
        public MessageClipsRepository(ISession session, IApplicationConfig applicationConfig)
            : base(session, applicationConfig)
        {
        }

       
        public MessageClipId NextMessageClipId()
        {
            return new MessageClipId(NextIntFromSeq());
        }

     
    }
}